const getters = {
  isFoldSide: state => state.layout.isFoldSide,
  isMobile: state => state.layout.isMobile,
  withSideAnimation: state => state.layout.withSideAnimation,
  isShowLayoutMask: state => state.layout.isShowLayoutMask,
  sideMenuList: state => state.layout.sideMenuList,
  affixTagViews: state => state.layout.affixTagViews,
  tagViews: state => state.layout.tagViews,
  aliveRoters: state => state.layout.aliveRoters,
  pages: state => state.layout.pages,
  scrollCache: state => state.layout.scrollCache,

  userInfo: state => state.user.userInfo,
  userPermission: state => state.user.userPermission,
  modulesPermission: state => state.user.modulesPermission,
  menusPermission: state => state.user.menusPermission,
  functionsPermission: state => state.user.functionsPermission,
  buttonsPermission: state => state.user.buttonsPermission,
};
export default getters;
